package com.ssy.lingxi.purchase.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 根据会员ID和角色ID更新信用分
 * @author fhj
 * @date 2021/07/09
 * @version 2.0.0
 */
@Data
public class UpdateCreditPointRequest {

    @NotNull(message = "会员ID不能为空")
    @ApiModelProperty(value = "会员ID")
    private Long memberId;

    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "信用积分")
    private Integer creditPoint;
}
